package com.daiqee.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.FieldStrategy;
import com.baomidou.mybatisplus.enums.IdType;
import com.daiqee.annotations.DateField;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 问题反馈
 * 
 * <br/>
 * @since JDK 1.8
 * @version  V2.4.1
 * @author RichardTang 
 * @date: 2018年6月14日
 * @package com.daiqee.pojo
 * @copyright:Copyright (c) 2018, 1245811923@qq.com All Rights Reserved.
 */
@TableName("problem_feedback")
public class ProblemFeedback extends LogicDeleteFlag{
	
	@TableId(type = IdType.AUTO)
    private Integer problemId;		 //id编号

    private Integer problemAccessId; //反映问题账号id

    private String problemTheme;	 //问题主题

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    private String problemPeople;	 //反映人

    @TableField(strategy = FieldStrategy.NOT_EMPTY)
    private String problemState;	 //问题状态

    @DateField
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date problemDate;		 //反映日期

    private String problemDetail;	 //问题详细描述

    private String problemReply;	 //问题回复

    public Integer getProblemId() {
        return problemId;
    }

    public void setProblemId(Integer problemId) {
        this.problemId = problemId;
    }

    public Integer getProblemAccessId() {
        return problemAccessId;
    }

    public void setProblemAccessId(Integer problemAccessId) {
        this.problemAccessId = problemAccessId;
    }

    public String getProblemTheme() {
        return problemTheme;
    }

    public void setProblemTheme(String problemTheme) {
        this.problemTheme = problemTheme == null ? null : problemTheme.trim();
    }

    public String getProblemPeople() {
        return problemPeople;
    }

    public void setProblemPeople(String problemPeople) {
        this.problemPeople = problemPeople == null ? null : problemPeople.trim();
    }

    public String getProblemState() {
        return problemState;
    }

    public void setProblemState(String problemState) {
        this.problemState = problemState == null ? null : problemState.trim();
    }

    public Date getProblemDate() {
        return problemDate;
    }

    public void setProblemDate(Date problemDate) {
        this.problemDate = problemDate;
    }

    public String getProblemDetail() {
        return problemDetail;
    }

    public void setProblemDetail(String problemDetail) {
        this.problemDetail = problemDetail == null ? null : problemDetail.trim();
    }

    public String getProblemReply() {
        return problemReply;
    }

    public void setProblemReply(String problemReply) {
        this.problemReply = problemReply == null ? null : problemReply.trim();
    }
}